ramrod straight | (as) straight as a ramrod
(of a person) with a very straight back and looking serious and formal
Her back was ramrod straight.
He stood there straight as a ramrod.